<?php
/**
 * Created by PhpStorm.
 * User: luzhaoyang
 * Date: 2017/8/11
 * Time: 16:04
 */

class Home_model extends Base_Model
{
    public function __construct()
    {
        parent::__construct();
    }

    public function getTotalCustomerNum()
    {
        $this->load->database();
        return $this->db->count_all_results('kdt_trades');
    }

}